#!/bin/sh
#
# Author	: Adrien MOGENET
# Project	: Keep My Bookmarks
#
# This is a script to build automatically the XPI file from the working copy
# Just run ./packager.sh to get a file 'keepmybookmarks.xpi'
#

VERSION=$1
svn export "keepmybookmarks" tmp
cd tmp && zip -r "../keepmybookmarks$VERSION".xpi * && cd ..
rm -rf tmp

# Tag the project :
TAG_DIR="0.1-rc"
TAG_NAME="0.1-rc"
#svn copy https://keep-my-bookmarks.googlecode.com/svn/trunk/ "https://keep-my-bookmarks.googlecode.com/svn/tags/$TAG_DIR" --username adrien.mogenet -m "$TAG_NAME"
